DEMO: A logical operator is a Python keyword that lets you join multiple conditionals in one line!
Testing more than one conditional at once is called using a compound conditional.
The Keyword: if·tom_pick·==·"rock"·and·alice_pick·==·"rock":¶ The Python logical operator and joins these two conditionals and tests them together!
To navigate the page using the TAB key, first press ESC to exit the code editor.